package com.zxjbyte.yiyi.module.system.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.zxjbyte.yiyi.framework.mybatis.base.BasePO;
import lombok.Data;

/**
 * @Author zhangxingjia
 * @Date 2023/6/20 14:03
 * @Version: 1.0
 */
@Data
@TableName("sys_oss_record")
public class OssRecordPO extends BasePO {

    private static final long serialVersionUID = 9073424507752054073L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 存储服务
    @TableField("storage_service")
    private String storageService;

    // 文件后缀
    @TableField("suffix")
    private String suffix;

    // 原文件名
    @TableField("original_name")
    private String originalName;

    // 文件大小
    @TableField("file_size")
    private String fileSize;

    // 路径名
    @TableField("path")
    private String path;

    // 文件地址
    @TableField("url")
    private String url;
}
